package notes.java.sjms23.t11_adapter;

// 适配器模式
public class Client {

    public static void main(String[] args) {
        
        // 两眼的插头》》USB插座上
        Adapter adapter = new Adapter(new TargetForUSB());
        adapter.desc();
        
        // 两眼的插头》》三眼的插座上
        adapter = new Adapter(new TargetForThree());
        adapter.desc();
    }
}
